<?php
require_once('process.php');
//echo '<pre>';
//print_r($a);
//echo '</pre>';
?>
<html>
<head>
    <meta charset="utf-8" />
</head>
<body>
<table border="1px">
    <tr>
        <td>id</td>
        <td>title</td>
        <td>content</td>
        <td>timeupload</td>
        <td>time update</td>
        <td>public</td>
        <td>sửa</td>
        <td>xóa</td>
    </tr>
    <?php foreach($a as $key=> $value){?>
    <tr>
        <td><?php echo $value['id']?></td>
        <td><?php echo $value['title']?></td>
        <td><?php echo $value['content']?></td>
        <td><?php echo $value['created']?></td>
        <td><?php echo $value['updated']?></td>
        <td><?php echo $value['publish']?></td>
        <td><a href="#">sửa</a></td>
        <td><a href="#">xóa</a></td>
    </tr>
    <?php }?>
</table>
</html>